#!/bin/bash

grep -rn -P "(ohos_hap_assist_suite)|(ohos_js_hap_suite)" $(find $1 -name BUILD.gn) | awk -F':' '{print $1}' | sort -u | xargs dirname